package com.seashop.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 会员关系
 * </p>
 *
 * @author moredln
 * @since 2020-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MemberRelation对象", description="会员关系")
public class MemberRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "上级用户id")
    private Integer parentId;

    @ApiModelProperty(value = "国家代码")
    private String countryCode;

    @ApiModelProperty(value = "会员等级")
    private Integer userLevel;

    @ApiModelProperty(value = "推广等级")
    private Integer promotionLevel;

    @ApiModelProperty(value = "VIP状态")
    private Integer vipStatus;

    @ApiModelProperty(value = "VIP过期时间")
    private LocalDateTime vipExpireTime;

    @ApiModelProperty(value = "绑定关系时间")
    private LocalDateTime bindTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
